<template>
  <div class="worth">
    <div class="m-hwrapper">
      <header class="psc-g-hd J_psc_g_hd">
        <div class="psc-m-topbar">
          <div class="psc-row">
            <div class="psc-m-hamburger">
              <router-link to="/" class="psc-u-nav-link">
                <i class="psc-icon psc-icon-house"></i>
              </router-link>
            </div>
            <div class="psc-m-right">
              <router-link
                to="/cart"
                class="psc-u-nav-link psc-u-link-cart"
                @click="skip(cart)"
              >
                <i class="psc-icon psc-icon-cart"></i>
              </router-link>
              <router-link
                to="/search"
                class="psc-u-nav-link psc-u-link-search"
              >
                <i class="psc-icon psc-icon-search"></i>
              </router-link>
            </div>
          </div>
        </div>
      </header>
    </div>
    <classify></classify>
    <falls></falls>
    <div style="height=100px"></div>
  </div>
</template>

<script>
import classify from "../pages/Worths/classify.vue";
import falls from "../pages/Worths/falls.vue";
export default {
  components: {
    classify,
    falls,
  },

  watch: {
    $route(to, from) {
      console.log(to, from);
    },
  },
};
</script>

<style lang="less" scoped>
.worth {
  background: #eee;
  box-sizing: border-box;
  .m-hwrapper {
    height: 67px;
    position: relative;
    .psc-g-hd {
      height: 67px;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      .psc-m-topbar,
      .psc-m-topbar .psc-row {
        position: relative;
        box-sizing: border-box;
      }
      .psc-m-topbar {
        height: 67px;
        background-color: #fafafa;
        border-bottom: 1.34px solid #d9d9d9;
        .psc-row {
          max-width:1029px;
          overflow: hidden;
          padding: 0 17.42px 0 16.08px;
          height: 67px;

          .psc-icon {
            display: block;
            position: relative;
            background-position: 50%;
            background-repeat: no-repeat;
          }
          .psc-u-nav-link {
            display: block;
            height: 67px;
          }
          .m-toptab {
            font-size: 16.08px;
            position: absolute;
            width: 502.5px;
            text-align: center;
            line-height: 67px;
            height: 67px;
            left: 50%;
            top: 50%;
            margin-left: -0.95rem;
            margin-top: -0.4rem;
          }
          .psc-m-hamburger {
            display: block;
            float: left;
            .psc-icon-house {
              background-image: url(https://yanxuan.nosdn.127.net/f1fd4eeea3f85330d21670ca81d9c65e.png);
              background-size: 0.66rem 0.66rem;
              width: 23px;
              height: 50px;
            }
          }
          .psc-m-right {
            display: block;
            float: right;
            height: 50px;
            margin-right: 1px;
            .psc-u-link-cart {
              float: right;
              .psc-icon-cart {
                background-image: url(https://yanxuan.nosdn.127.net/9574d22277a2eb4819330f5591253edf.png);
                background-size: 23px 23px;
                width: 24.5px;
                height: 50px;
              }
            }
            .psc-u-link-search {
              float: right;
              margin-right: 15px;
              .psc-icon-search {
                background-image: url(https://yanxuan.nosdn.127.net/08adb6b3db60250074afb6020dfaa6a5.png);
                background-size: 23px 23px;
                width: 31px;
                height: 50px;
              }
            }
          }
        }
      }
    }
  }
}
</style>